package cn.com.haopy.yue.ai.db.service;

import cn.com.haopy.yue.ai.db.entity.BaseEntity;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author keel
 * @date 2022/4/24
 */
public interface IBaseService<T extends BaseEntity> extends IService<T> {
    /**
     * 更新记录(乐观锁)
     *
     * @param t
     * @return
     */
    boolean updateByIdWithOptimisticLock(T t);
}
